package com.zhaoxi.project.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import lombok.Data;

/**
 * 仓储盘点对象 wms_product_stock_check
 * 
 * @author zhaoxi
 * @date 2023-08-25
 */
@Data
public class WmsProductStockCheck extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 事务ID */
    private Long id;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 盘点人 */
    @Excel(name = "盘点人")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 排序 */
    @Excel(name = "排序")
    private String order_num;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productCode;

    /** 单位 */
    @Excel(name = "单位")
    private String measureUnit;

    /** 入库批次号 */
    @Excel(name = "入库批次号")
    private String batchCode;

    /** 库位ID */
    @Excel(name = "库位ID")
    private Long areaId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 生产厂商id */
    @Excel(name = "生产厂商id")
    private Long manufacturerId;

    /** 在库数量 */
    @Excel(name = "在库数量")
    private BigDecimal quantity;

    /** 库存有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @Excel(name = "库存有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;

    private List<WmsProductStockCheck> wmsProductStockCheckLineList;

    public List<WmsProductStockCheck> getWmsProductStockCheckLineList() {
        return wmsProductStockCheckLineList;
    }

    public void setWmsProductStockCheckLineList(List<WmsProductStockCheck> wmsProductStockCheckLineList) {
        this.wmsProductStockCheckLineList = wmsProductStockCheckLineList;
    }
}
